<%@include file="/include/head.jsp"%>
<f:view>
<h:form id="menu"><%@include file="/include/menu.jsp" %></h:form>
<h:form id="page">

<tr class="header">
	<td colspan="3" class="header-left">
		<table class="form">
			<tr><td class="titulo" colspan="2"><h:commandLink action="#{funcionario.entrarMenu }" value="Funcionarios" /> :: Alterar</td></tr>
			<tr><th>Nome *</th><td><h:inputText value="#{funcionario.nome}" id="nome" maxlength="80" size="30"/></td></tr>
			<tr><th>Email *</th><td><h:inputText value="#{funcionario.email}" id="email" maxlength="80" size="30"/></td></tr>
			<tr>
				<th>Sexo *</th>
				<td><h:selectOneRadio value="#{funcionario.sexo}" id="sexo">
					<f:selectItem itemLabel="Feminino" itemValue="1"/>
					<f:selectItem itemLabel="Masculino" itemValue="2"/>
				</h:selectOneRadio></td>
			</tr>
		</table>
		<table>
			<tr>
				<td><div class="button">
					<h:commandLink value="Alterar" action="#{funcionario.alterar }" id="linkAlterar"/>
				</div></td>
				<td><div class="button">
					<h:commandLink value="Cancelar" action="#{funcionario.cancelar }" id="linkCancelar"/>
				</div></td>
			</tr>
		</table>
	</td>
	<td class="header-right">
		<%@include file="/include/avisos.jsp" %>
	</td>
</tr>

</h:form></f:view>
<%@include file="/include/tail.jsp"%>